﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
<link href="/resource/css/admin/right.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/base.js"></script>
<script type="text/javascript" src="/resource/js/admin/createzhuanti.js"></script>
</head>
<body>
    <div class="position"><span>您的当前位置：</span>静态生成 > 生成专题HTML</div>
    <div class="rightbody f">
		<div class="rightbodycontent">
		    <table class="tools">
		    	<tr>
		        	<td>
		            	<b>生成选项：</b>
		                <label><input type="checkbox" id="createcolumnsauto" onchange="setcreatezhuanti()" />同时生成相关列表页面</label>
		                <label><input type="checkbox" id="createarticleauto" disabled />同时生成相关详细页面</label>
		            </td>
		            <td align="right">
		                <a onclick="createzhuantibyselected()" class="linkbtn file">生成所选专题静态</a>
		            </td>
		        </tr>
		    </table>
		    <table cellspacing="1" cellpadding="4" class="tablelist">
		        <tr>
		            <th><input type="checkbox" onclick="selectallcheckbox(this)" /></th>
		            <th width="30%">专题名称</th>
		            <th>URL目录</th>
		            <th>数据模型</th>
		            <th>操作</th>
		        </tr>
		        <#list zhuantis as zhuanti>
		            <tr<#if zhuanti_index % 2 == 1> class="splittr"</#if>>
		                <td align="center"><input type="checkbox" name="ids" value="${zhuanti.id}" /></td>
		                <td align="center">${zhuanti.name}</td>
		                <td align="center">${zhuanti.urldirectory}</td>
		                <td align="center">${zhuanti.datamodel.name}</td>
		                <td align="center">
		                    <a onclick="createzhuanti(${zhuanti.id})" class="linkbtn file noborder" onclick="return confirm('确定生成静态HTML吗？')">生成静态</a>
		                </td>
		            </tr>
		        </#list>
		    </table>
	    </div>
    </div>
</body>
</html>